package com.fita.entity.wallet;

import com.demo2do.core.utils.Alias;

/**
 * @description:
 * @author: 11200
 * @date: 2019/6/19
 */
@Alias("withdrawRecordPaidStatus")
public enum WithdrawRecordPaidStatus {

    PAID("已打款"),

    UNPAID("未打款");

    private String description;

    WithdrawRecordPaidStatus(String description) {
        this.description = description;
    }

    /**
     * 是否已打款
     * @return
     */
    public boolean isPaid(){
        return this.equals(PAID);
    }

    /**
     * 是否是未打款
     * @return
     */
    public boolean isUnpaid(){
        return this.equals(UNPAID);
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


}
